<table class="table table-bordered table-striped">
	<tr>
		<th>#</th>
		<th>Наименование</th>
		<th>Фирма</th>
		<th>Актикул</th>
		<th>Цена</th>
	</tr>
	
	<?php foreach($results['articles'] as $i=>$article):?>
	<tr>
		<td><?php echo $i;?></td>
		<td>
			<a href="<?php echo $this->createUrl('/catalog/search/detail', array('id'=>$article['ART_ID']))?>">
				<?php echo isset($article['TEX_TEXT_RU']) ? $article['TEX_TEXT_RU'] : $article['TEX_TEXT_EN'];?>
			</a>
		</td>
		<td><?php echo $article['SUP_BRAND']?></td>
		<td><?php echo $article['ART_ARTICLE_NR']?></td>
		<td>
			<?php if(isset($results['prices'][$article['ART_ID']])):?>
				<?php foreach($results['prices'][$article['ART_ID']] as $price):?>
					<tr>
						<td><?php echo $price['PTP_NAME'];?>:</td>
						<td><?php echo number_format($price['VALUE'], 2, ',', ' ');?></td>
						<td>RUR</td>
					</tr>
				<?php endforeach;?>
			<?php else:?>
				<small>Не установлена</small>
			<?php endif;?>
		</td>
	</tr>
	<?php endforeach;?>
</table>